#ifndef __SERIAL_H
#define __SERIAL_H

#ifdef __cplusplus
 extern ""C"" {
#endif

/* Includes -----------------------------------------------------------------------*/
#include <stm32f4xx.h>
     
/* Exported types -----------------------------------------------------------------*/
/* Exported constants -------------------------------------------------------------*/
/* Exported macro -----------------------------------------------------------------*/
/* Exported functions -------------------------------------------------------------*/
void Serial_config(uint32_t baud_rate);
uint8_t Serial_read(void);
void Serial_write(uint8_t byte);
int Serial_available(void);     
     
     
#ifdef __cplusplus
 }
#endif

#endif // __SERIAL_H
